package com.wanmait.houlang.service.impl;

import com.github.pagehelper.PageInfo;
import com.wanmait.houlang.mapper.SubjectMapper;
import com.wanmait.houlang.pojo.Subject;
import com.wanmait.houlang.service.SubjectService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
@Service
public class SubjectServiceImpl implements SubjectService {
    @Resource
    private SubjectMapper subjectMapper;
    @Override
    public void insert(Subject object) {

    }

    @Override
    public void delete(Integer id) {

    }

    @Override
    public void delete(String ids) {

    }

    @Override
    public void update(Subject object) {

    }

    @Override
    public Subject findById(Integer id) {
        return null;
    }

    @Override
    public List<Subject> findAll() {
        List<Subject> subjects=subjectMapper.findAll();
        return subjects;
    }

    @Override
    public PageInfo<Subject> findAll(int pageNum, int pageSize, Subject object) {
        return null;
    }
}
